package com.yxw.bamboo.core;

import javax.net.ssl.SSLSocket;
import java.io.IOException;
import java.net.Socket;

public class NetHelper {
    public static void close(Socket socket) {

        try {
            if (socket != null) {
                socket.close();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
